package com.msb.test15;

public class TestThread extends Thread{
    public void run(){
        for(int i=1;i<=100;i++){
            try {
                Thread.sleep(5);
            } catch (InterruptedException e) {
                throw new RuntimeException(e);
            }
            System.out.println("这是子线程"+i);
        }
    }
}
